window.onload = () => {
  let id = prompt("学号?", 2019111111);
  let name = prompt("姓名?", "张三");
  let date = new Date();
  let m =
    date.getMonth() + 1 < 10
      ? "0" + (date.getMonth() + 1)
      : date.getMonth() + 1;
  let d = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
  document.querySelector("#date1").innerText =
    m + (d + "疫情防控——师生健康状态采集");
  document.querySelector("#zrain").innerHTML = `<b>${id}</b>(${name})`;
  document.querySelector("#zrain2").innerHTML = `<b>${id}</b>(${name})`;
  document.querySelector("#checkdate").innerText = `打卡时间：2022-${m}-${d} 8:29`;
};
